﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<List<Dto.ManageMenuDto>>" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>欢迎进入网站管理平台</title>
    <meta name="author" content="http://design4u.cn,QQ:66383210,Email:caixfm@gmail.com" />
    <link href="/Content/css/incss.css" rel="stylesheet" type="text/css" />
</head>
<body class="maintop">
    <div class="user">
        <a href="<%=Url.Action("Index", "Home")%>">浏览网站</a><br />
        您好，Admin (超级管理员) <a href="<%=Url.Action("Exit", "Home")%>">[退出]</a>
    </div>
    <ul class="menu">
        <%
            foreach (ManageMenuDto dto in Model)
            {%>
        <li id="menu1" <%=Convert.ToInt32(ViewData["FMenuID"]) == dto.MenuID ? "class=\"current\"" : ""%>>
            <a href="<%=Url.Action("ClickFatherMenu", new {controller = "Home", id = dto.MenuID})%>">
                <%=dto.MenuName%></a></li>
        <%
            }%>
    </ul>
</body>
</html>
